package com.bbcare.followup.plat.store.ibatis;

import com.bbcare.followup.plat.vo.FuClosecaseRecordVo;
import com.bbcare.followup.plat.entity.FuClosecaseRecord;

import java.util.List;
import java.util.Map;

/**
 * @Title		FuClosecaseRecordDao.java
 * @Package		com.bbcare.followup.plat.store.ibatis
 * @Description	患者结案记录
 * @Author		<a href="mailto:jiangqian_java@163.com">jiang</a>
 * @Date		2022/6/17
 * @Version		V1.0 
 * @Copyright	(c) Shanghai BBcare Medical Equipment Co.,Ltd.
 */
public interface FuClosecaseRecordDao {

    /**
     * 新增
     * @author jiangq
     * @date 2022/06/17
     **/
    int insert(FuClosecaseRecord fuClosecaseRecord);

    /**
     * 刪除
     * @author jiangq
     * @date 2022/06/17
     **/
    int delete(int id);

    /**
     * 更新
     * @author jiangq
     * @date 2022/06/17
     **/
    int update(FuClosecaseRecord fuClosecaseRecord);

    /**
     * 查询 根据主键 id 查询
     * @author jiangq
     * @date 2022/06/17
     **/
    FuClosecaseRecord load(int id);

    /**
     * 查询 分页查询
     * @author jiangq
     * @date 2022/06/17
     **/
    List<FuClosecaseRecordVo> pageList(Map<String, Object> paramMap);

    /**
     * 查询 分页查询 count
     * @author jiangq
     * @date 2022/06/17
     **/
    int pageListCount(int offset,int pagesize);

    int countByUserid(Map<String, Object> paraMap);
}
